package com.itheima.demo;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/7/20 9:50
 */
public @interface Anno1 {

    //定义基本类型属性;
    public int a() default 11;

    //定义String类型属性;
    public String name() default "张三";

    //定义注解类型属性 ;
    public Anno2 anno2() default @Anno2;

    //定义clas类型属性 ;
    public Class clazz() default Fu.class;

    //定义枚举类型属性;
    public Season season() default Season.SPRING;

    //定义基本类型数组;
    public int[] arr() default {1, 2, 3, 4, 5};

    //定义String 类型数组;
    public String[] arr1() default {"1", "2"};

}
